//package Test;
//
//import dao.CompileFile;
//import dao.Impl.CompileJavaFile;
//import dao.Impl.CreateFileImpl;
//import model.MyCompiler;
//import model.WriteFile;
//
//public class Test {
//    public static void main(String[] args) {
//        CreateFileImpl x = new CreateFileImpl("java");
//        String value="class Test{\n" +
//                "        public static void main(String[] args) {\n" +
//                "\n" +
//                "            for(int i=1;i<10;i++)\n" +
//                "            System.out.println(\"sdfsf\");\n" +
//                "        }\n" +
//                "    }\n" +
//                "\n";
//        x.setFileName(value);
//        x.writeFile();
//
//        CompileFile createFile = new CompileJavaFile(x.getFileName());
//        System.out.println(createFile.compile());
//        System.out.println(createFile.run());
//
//    }
//}
